package layers.physical;

import events.truckEvents.TruckCreatedEvent;
import framework.events.EventBroker;
import framework.layer.physical.command.Command;
import framework.layer.physical.entities.vehicles.Vehicle;

public class Truck extends Vehicle<Truck, Crossroad, Road>{
		
	public Truck(double speed) {
		this.setSpeed(speed);
		EventBroker.getEventBroker().notifyAll(new TruckCreatedEvent(this));
	}

	@Override
	protected Command<? extends Truck> loadFailSafeCommand() {
		return null;
	}
}
